package org.jeecg.modules.iot.model.control;

import lombok.Data;

@Data
public class CentralControlConfig {
    public boolean softStartEnabled;  // 软启动开关
    public boolean linkageEnabled;    // 联动功能开关
    public boolean eabsEnabled;       // EABS 开关
    public boolean slopePreventionEnabled; // 防陡坡开关
    public boolean tcsEnabled;        // TCS 开关
    public int softStartLevel;        // 软启动等级 (0-31)
    public boolean speedLimitEnabled; // 国标限速开关 (true: 国标限速, false: 解除限速)
    private int startGear;
    private int parkingToPTime;

    // 构造函数，可以根据需要添加默认值
    public CentralControlConfig() {
        this.softStartEnabled = true;
        this.linkageEnabled = true;
        this.eabsEnabled = true;
        this.slopePreventionEnabled = false;
        this.tcsEnabled = true;
        this.softStartLevel = 0;
        this.speedLimitEnabled = true;
        this.startGear = 0;
        this.parkingToPTime = 0;
    }



}